/*
 * @Author: hcluo
 * @Date: 2020-06-12 20:34:25
 * @LastEditors: hcluo
 * @LastEditTime: 2020-06-12 21:20:10
 * @Description: 政府项目
 */

import React, { useEffect } from 'react';
import { useDispatch, useSelector, shallowEqual } from 'react-redux';

// import PropTypes from 'prop-types';
import { useFetchData } from '../data/redux/hooks';

export default function(props) {
    const { code, pageId } = props;
    const { module, request, status } = useFetchData(code, pageId);
    return (
        <>
            ********************
            {JSON.stringify(status)}
            <div>module: {JSON.stringify(module)}</div>
            --------------------------------------------
            <div>request: {JSON.stringify(request)}</div>
        </>
    );
}
